package com.lanxin.oa.personnel.service;
import com.lanxin.bean.*;
import com.lanxin.util.PageBean;

import java.util.Date;
import java.util.List;

public interface EmpService {

    public PageBean<ZzEmployee> getEmpPage(Integer page, Integer pageSize, ZzEmployee emp);

    public List<ZzDepartment> listDeptName();

    public List<JcBasicdatavalue> selectJobs();

    public List<JcBasicdatavalue> selectEducations();

    public ZzEmployee empById(Integer oid);

    public void add(Object o);

    public void update(Object o);

    public boolean selectByUserNameService(String UserName,Integer aid);

    public void editemp(ZzEmployee emp, ZzAccount account, ZzJobinfo jobInfo, Date[] startDate, Date[] endDate, String[] companyName, String[] deptName, String[] jobName, String[] proofer, String[] phone, String[] description);

    public boolean deleteEmp(Integer oid);

    public boolean updateEmpStatue(Integer oid,String state);
}
